﻿using System.Windows.Forms;

namespace YaP.Library.YapControls
{
    internal class ToolStripScriptItem : ToolStripMenuItem
    {
        public string FullPath;
        public string ScriptContent;

        public string SimpleFileName
        {
            get
            {
                string[] split = FullPath.Split(@"\".ToCharArray());
                return split[split.Length - 1];
            }
        }
    }
}